package assdraw.view.test;


import java.awt.Color;
import java.util.Vector;

import assdraw.model.Drawing;
import assdraw.model.Rect;
import assdraw.model.Shape;


/**
 * Provides a simple drawing to test DrawingCanvas
 */
public class DrawingStub extends Drawing{

	private Vector<Shape> data;
	
	/**
	 * Creates new instance with four overlapping rectangles
	 */
	public DrawingStub(){
		super();
		data = new Vector<Shape>();
		data.add(new Rect(0,0,10,10, Color.BLACK));
		data.add(new Rect(5,5,10,10, Color.BLACK));
		data.add(new Rect(10,10,10,10, Color.BLACK));
		
	}
	
	public Vector<Shape> getShapes()
    {
        return data;
    }    

}
